<%--
  Created by IntelliJ IDEA.
  User: Xiaoqz
  Date: 2021/8/30
  Time: 17:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%--@ page contentType="text/html;charset=UTF-8" language="java" --%>
<%--
    isELIgnored：忽视EL表达式
    假设Servlet传递数据：request.setAttribute("username", "zhangsan");
    isELIgnored="true"(默认)：会认为EL表达式是字符串 ${username}
    isELIgnored="false"：会获取username对应的值 zhangsan
--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--转发到目的地后，获取共享数据--%>
${username}
<%System.out.println("hello jsp !");
    int i = 1;%>
<%="hello"%>
<%=i%>
<%!void show(){}
    String name;%>
</body>
</html>
